Easy2Siksha.com
• Internal documentation ensures that the story behind the code is preserved. It’s like
writing footnotes in a book so that future readers understand the context.
Together, they make system design not just about building software, but about building
software that lasts, grows, and can be understood by anyone who touches it.
Conclusion
In the world of software, writing code is only half the job. The other half is writing it in a way
that others can read, understand, and extend. Different coding styles—structured, object-
oriented, functional, modular, pattern-based—give us the tools to express logic clearly.
Internal documentation ensures that this clarity survives time, team changes, and system
evolution.
For students, this makes coding less about typing commands and more about telling a story
that others can follow. For examiners, it makes grading a joy—because the answer doesn’t
just list facts, it paints a picture of coding as a living, breathing craft.
6. (a) What do you understand by Test Cases and Test Criteria? Discuss with example.
(b) Explain the concept of White-Box Testing in detail. How it is different from Black-Box
Testing?
Ans: A Gentle Beginning
Imagine you are planting a garden. You buy seeds, water them, and wait for them to grow.
But before you serve the vegetables to your family, you want to make sure they are healthy
and safe. So, you check:
• Did the seeds sprout properly?
• Are the leaves green and healthy?
• Is the taste good enough?
In the same way, when software engineers build a program, they don’t just release it to
users. They test it—checking whether it works as expected, whether the inputs give correct
outputs, and whether the program is strong enough to handle unexpected situations.
This process of checking is called Software Testing. And in this story, two characters are
very important:
1. Test Cases – like small questions we ask the software.
2. Test Criteria – like the conditions we set to decide if the software is “good enough.”
And then comes a special method of testing called White-Box Testing, which allows us to
look inside the software’s “skeleton and veins” (the code itself), and compare it with Black-